<script src="../resources/text-based-repaint.js"></script>
<script src="../../../resources/ahem.js"></script>
<body onload="runRepaintAndPixelTest()">
<span style="position: relative; top: 80px;">
    <div id="target" style="display: inline-block; width: 100px; height: 100px; overflow: hidden; font-family: Ahem; font-size: 100px; background: red; color: green;">p</div>
</span>
<script>
    function repaintTest()
    {
        document.getElementById("target").firstChild.data = "a";
    }
</script>
